//
//  SongListTableViewCell.m
//  LouMusicDemo
//
//  Created by 漫步人生路 on 15/7/1.
//  Copyright (c) 2015年 漫步人生路. All rights reserved.
//

#import "SongListTableViewCell.h"

@implementation SongListTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.backgroundColor = [UIColor colorWithWhite:10.0 alpha:0.4];
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        self.songName = [[UILabel alloc]initWithFrame:CGRectMake(30, 15, 100, 40)];
        self.songName.textColor = [UIColor whiteColor];
        self.songName.font = [UIFont fontWithName:nil size:13];
        [self.contentView addSubview:self.songName];
        UIView *line = [[UIView alloc]initWithFrame:CGRectMake(30, 45, [UIScreen mainScreen].bounds.size.width - 60, 1)];
        line.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:line];
    }
    return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
